package cn.hiema;


/*
    增加属性：
			职务job；
		增加方法：开会meeting。
 */



public class StudentLeader extends Person{

    private String job;

    public void meeting(){
        System.out.println(getName()+"喜欢开会");
    }

    public StudentLeader(String job) {
        this.job = job;
    }

    public StudentLeader() {
    }

    public StudentLeader(String name, String gender, String age, String nationality, String job) {
        super(name, gender, age, nationality);
        this.job = job;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }
}
